#define _CRT_SECURE_NO_WARNINGS 1


#include<string>
#include<iostream>

using namespace std;

int main()
{
	string account, password;
	for (int i = 2; i >= 0; i--)
	{
		cin >> account >> password;
		if (account == "dotcpp" && password == "123456")
		{
			cout << "Successful landing!" << endl;
			return 0;
		}
		if (i != 0)
		{
			cout << "Landing failure! There's another " << i << " chance!" << endl;
		}
	}
	
	cout << "Account freeze!" << endl;

	return 0;
}